package ptaTest6;

/*
@Override
public Integer push(Integer item) throws FullStackException{
	if(item==null)
		return null;
	if(top==arrStack.length)
		throw new FullStackException();
	arrStack[top++]=item;
	return item;
}

@Override
public Integer pop() throws EmptyStackException{
	if(top==0)
		throw new EmptyStackException();
	return arrStack[--top];
}

@Override
public Integer peek() throws EmptyStackException{
	if(top==0)
		throw new EmptyStackException();
	return arrStack[top-1];
}
*/